package cn.interestingshop.dao;

import cn.interestingshop.entity.BaseOrder;
import cn.interestingshop.entity.OrderInfo;
import cn.interestingshop.vo.OrderInfoVo;

import java.util.List;

public interface OrderInfoDao {
    /**
     * 根据订单id查询订单详情
     * @param baseOrderId
     * @return
     */
    public List<OrderInfoVo> selectAll(int baseOrderId);

    /**
     * 订单详情插入
     * @param orderInfo
     * @return
     */
    public int insert(OrderInfo orderInfo);
}
